<ion-view hide-tabs="true" view-title="登录" hide-nav-bar="true" ng-controller="loginCtrl" hide-back-button="true" style="background-image: url('img/loginBg3.png');background-size:100% 100%;background-position:center;color: #FFF;z-index: -1;" id="login">
    <ion-content >
         <div class="padding forms" style="position: relative;height: 100%">
             <div style="margin-top: 50px;margin-bottom:20px;text-align: center;"><h1><img class="logoName" ng-src="img/logo2.png" alt="login"></h1></div>
             <div style="margin-top: 10px;text-align: center;"><h3 class="white">登录</h3></div>
             <form  id="login">
                 <div class="list list-inset" >
                     <div class="item item-input-inset loginBorder" style="padding: 0px;margin-top: 20px;border-radius: 4px;">
                         <span class=" loginIcon white" >手机号</span>
                         <label class="item-input item-input-wrapper">
                             <input type="number" placeholder="请输入手机号 "  oninput="if(value.length>11)value=value.slice(0,11)"   required ng-model="input.loginPhoneNumber">
                         </label>
                     </div>
                     <div class="item item-input-inset loginBorder" style="padding: 0px;margin-top: 20px;">
                         <span class=" loginIcon white">验证码</span>
                         <label class="item-input item-input-wrapper">
                             <input type="number" placeholder="请输入验证码" oninput="if(value.length>6)value=value.slice(0,6)"   required ng-model="input.loginVerificationCode" style="padding-left:0;padding-right:0;">
                         </label>
                         <input type="button" class="button button-small button-royal getCode"  id="getCode" value="免费获取验证码" />
                     </div>
                 </div>
                 <div class="padding" style="margin-bottom: 0px;border: none;">
                     <button class="button button-block button-positive" ng-click="Signin()">登录</button>
                 </div>
             </form>
             <div class="mT10 f14" style="margin-bottom:15px;">
                 <!--<ul style="display: flex;justify-content: space-between;">-->
                     <ul>
                     <li ng-click="register()"><span style="padding:4px 12px; float:left;">注册</span></li>
                     <li ng-click="forgetPassword()"><span style="padding:4px 12px;float:right;">忘记密码？</span></li>
                 </ul>
             </div>
             <div ng-click="passwordEnter()" style="margin-top:60px;"  class="loginMethod"><div style="font-size: 14px;">使用密码进行登录 <span class="ion-ios-arrow-right"></span></div></div>
         </div>
    </ion-content>
</ion-view>